package com.zhangyu.shadow.repair.delegate.maintain;

import java.util.List;

/**
 * @author zhangyu
 * @date 2018/3/28
 */

class PostRepairData {

    /**
     * Id : 1
     * VehicleCode : 82223
     * InFactoryTime : 可以不填
     * ListConfirm : [{"Classification":{"Code":"01"},"ListTrouble":[{"TroubleType":{"Id":1,"Code":"01","Name":"发动机发吐"}}]},{"Classification":{"Code":"02"},"ListTrouble":[{"TroubleType":{"Id":2,"Code":"02","Name":"刹车失灵"}}]}]
     */

    private int Id;
    private String VehicleCode;
    private String InFactoryTime;
    private List<ListConfirmBean> ListConfirm;

    public int getId() {
        return Id;
    }

    public void setId(int Id) {
        this.Id = Id;
    }

    public String getVehicleCode() {
        return VehicleCode;
    }

    public void setVehicleCode(String VehicleCode) {
        this.VehicleCode = VehicleCode;
    }

    public String getInFactoryTime() {
        return InFactoryTime;
    }

    public void setInFactoryTime(String InFactoryTime) {
        this.InFactoryTime = InFactoryTime;
    }

    public List<ListConfirmBean> getListConfirm() {
        return ListConfirm;
    }

    public void setListConfirm(List<ListConfirmBean> ListConfirm) {
        this.ListConfirm = ListConfirm;
    }

    public static class ListConfirmBean {
        /**
         * Classification : {"Code":"01"}
         * ListTrouble : [{"TroubleType":{"Id":1,"Code":"01","Name":"发动机发吐"}}]
         */

        private ClassificationBean Classification;
        private List<ListTroubleBean> ListTrouble;

        public ClassificationBean getClassification() {
            return Classification;
        }

        public void setClassification(ClassificationBean Classification) {
            this.Classification = Classification;
        }

        public List<ListTroubleBean> getListTrouble() {
            return ListTrouble;
        }

        public void setListTrouble(List<ListTroubleBean> ListTrouble) {
            this.ListTrouble = ListTrouble;
        }

        public static class ClassificationBean {
            /**
             * Code : 01
             */

            private String Code;

            public String getCode() {
                return Code;
            }

            public ClassificationBean setCode(String Code) {
                this.Code = Code;
                return this;
            }
        }

        public static class ListTroubleBean {
            /**
             * TroubleType : {"Id":1,"Code":"01","Name":"发动机发吐"}
             */

            private TroubleTypeBean TroubleType;

            public TroubleTypeBean getTroubleType() {
                return TroubleType;
            }

            public void setTroubleType(TroubleTypeBean TroubleType) {
                this.TroubleType = TroubleType;
            }

            public static class TroubleTypeBean {
                /**
                 * Id : 1
                 * Code : 01
                 * Name : 发动机发吐
                 */

                private int Id;
                private String Code;
                private String Name;

                public int getId() {
                    return Id;
                }

                public TroubleTypeBean setId(int Id) {
                    this.Id = Id;
                    return this;
                }

                public String getCode() {
                    return Code;
                }

                public TroubleTypeBean setCode(String Code) {
                    this.Code = Code;
                    return this;
                }

                public String getName() {
                    return Name;
                }

                public TroubleTypeBean setName(String Name) {
                    this.Name = Name;
                    return this;
                }
            }
        }
    }

}
